/**
 * 
 */
package messagetype;

import bot.Client;
import bot.InputLineSegmenter;
import bot.IrcBot;

/**
 * @author Philip
 *
 */
public class EndOfMOTDMessage implements MessageType {
	private String autoJoinChannels;
	
	public EndOfMOTDMessage(String autoJoinChannels) {
		this.autoJoinChannels = autoJoinChannels;
	}

	@Override
	public void performAction(Client client, IrcBot bot, InputLineSegmenter lineSegmenter) {
		client.write("JOIN " + autoJoinChannels);
	}
}
